VideoHelp Forum




+ Reply to Thread
Results 1 to 3 of 3
  1. Member
    Join Date
    Nov 2006
    Location
    United States
    Search Comp PM
    Hi,

    I want to encode an avi (xvid) file to wmv with burned in subtitles. So i wrote this avisynth script:

    Code:
    # Created by AVSEdit
    # FLX 11/19/2006
    LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\VSFilter.dll")
    AviSource("J:\Movies\Golden\cd1.avi")
    textsub ("J:\Movies\Golden\cd1.srt")
    AddBorders(0,45,0,45)
    Lanczos4Resize(320,150)
    After that i load my avs script into Winavi 7.5 and use the default settings to convert to wmv. After 40 mins or so its done with converting, but then i noticed that the audio gets ot of sync the further the movie plays. At the near end it doesnt even make sense anymore. Does it has todo with Winavi or with my avisynth script?

    Regards,

    Dennis
    Quote Quote  
  2. Member
    Join Date
    Dec 2004
    Location
    Australia
    Search Comp PM
    Play the script, see if it plays in sync.

    Also you would want to move the resize filter to before the borders since I presume you want to resize to 320x150, then pad to 320x240 rather than pad your source by 90 and then resize to 320x150.

    LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\VSFilter.dll")
    AviSource("J:\Movies\Golden\cd1.avi")
    Lanczos4Resize(320,150)
    AddBorders(0,45,0,45)
    textsub ("J:\Movies\Golden\cd1.srt")

    Think I explained that in another thread.
    Quote Quote  
  3. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    Personally, I wouldn't wipe my a%#e with WinAVI. It is simply an awful piece of software.

    That said, there is a good chance your original avi has VBR MP3 audio, which can cause sync issues for converters. Simplest solution is to replace the MP3 audio with uncompressed PCM audio before converting. One method for doing this can be found here -> https://forum.videohelp.com/viewtopic.php?p=1577383#1577383

    If you want wmv output, I would use Windows Media Encoder - it's a freebie from Microsoft, and it is a lot better than WinAVI. (Actually, dropping a brick on your foot is less painful that dealing with WinAVI)
    Read my blog here.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!